]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
switcherPopup: Use correct scroll-direction property
authorJonas Dreßler <verdre@v0yd.nl>
Wed, 15 Jan 2020 16:04:07 +0000 (17:04 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 26 Feb 2020 22:46:51 +0000 (22:46 +0000)
The correct property for the scroll-direction with scrolling events is
`direction`, no `scroll_direction`. This fixes scrolling in the alt-tab
popup, which broke with the actorization changes.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/167

js/ui/switcherPopup.js

index f9888d4f5eaff986f1ed100a8ec71270d7877cc9..23d74ff39b2e1466ae151eb42cca73e8f15b3183 100644 (file)
@@ -230,7 +230,7 @@ var SwitcherPopup = GObject.registerClass({
     vfunc_scroll_event(scrollEvent) {
         this._disableHover();
 
-        this._scrollHandler(scrollEvent.scroll_direction);
+        this._scrollHandler(scrollEvent.direction);
         return Clutter.EVENT_PROPAGATE;
     }